package Day03;

public class OperDemo4 {
    public static void main(String[] args) {
        int a =5;
        a+=10;
        System.out.println(a);
        a *=2;
        System.out.println(a);
        a /=6;
        System.out.println(a);

        short s=5;
        //s=s+10;//需要强转，改为s=(short)(s+10)
        s +=10;//自带强转，相当于s=(short)(s+10)
        System.out.println(s);

    }
}
